<!-- start: Container -->
<link rel="stylesheet" href="<?php echo $this->basePath(); ?>/templates/front/css/user.css">
<div class="page-header">
    <div class="row">
            <div class="header-menu-ver">Khôi phục mật khẩu</div>
    </div>
</div>

<div class="content-body" >


    <div class="row vela-col" style="margin-top: 20px;margin-bottom: 20px">

        <form method="post" id="send-pass-form" name="loginForm" class="require-validate ajax-form" action="<?php echo $this->url ("login", array('controller' => 'login', 'action' => 'authEmailForgot'))?>" enctype="multipart/form-data">
            <div class="form-group group_validate">
                <label>Email: </label>
                <input req="true" id="text-email" type="email" name="email" class="form-control input-medium"  placeholder="Nhập email" />
            </div>

        </form>
        <div class="form-group group_validate">
            <input type="button" id="send" class="btn btn-primary" value="Gửi"/>
        </div>

    </div>


</div>
<script>
    $("#banner").html('');
    $(document).ready(function(){
        $('#send').attr('disabled', true);
        $('#text-email').change(function(){
            if($(this).val() != ''){
                $('#send').attr('disabled', false);
            }else{
                $('#send').attr('disabled', true);
            }
        });
        $('#send').click(function(){
            $('#send-pass-form').submit();
            $('#send').attr('disabled', true);
            $(this).val('Gửi');
        })
    })
</script>